package com.syni.mdd.sjb.common.component.mybatis.dxshapp.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcc
 * @since 2020-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DxshAppBanner implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 类型：0 服务模块展示
     */
    private Integer type;

    /**
     * 图片链接
     */
    private String imgUrl;

    /**
     * 点击链接
     */
    private String clickUrl;

    /**
     * 创建时间
     */
    private LocalDateTime newTime;

    /**
     * 轮播位置
     */
    private Integer bannerIndex;

    /**
     * 是否下架
     */
    private Integer isOff;

    /**
     * 跳转参数
     */
    private String params;


    public static final String ID = "id";

    public static final String TYPE = "type";

    public static final String IMG_URL = "img_url";

    public static final String CLICK_URL = "click_url";

    public static final String NEW_TIME = "new_time";

    public static final String BANNER_INDEX = "banner_index";

    public static final String IS_OFF = "is_off";

    public static final String PARAMS = "params";

}
